package com.yanqu.road.entity.log.foxcard;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.activity.foxcard.FoxHandCard;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_foxcard_start", desc = "黑狐入侵开始游戏", autoSave = true, dataUpload = true, eventName = "red_blackstart", uploadCk = true)
public class LogFoxCardStart extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "关卡id", dataAttribute = "red_blacklev")
    private int stageId;
    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogFoxCardStart(int activityId, long userId, int stageId) {
        this.activityId = activityId;
        this.userId = userId;
        this.stageId = stageId;
        this.logTime = new Date();
    }

    @Override
    public long getUserId() {
        return userId;
    }
}
